<?php
/* @var $this ProductReservationController */
/* @var $data ProductReservation */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('product')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->product0->name), array('product/view', 'id'=>$data->product0->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('quantity')); ?>:</b>
	<?php echo CHtml::encode($data->quantity); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('date_to_purchase')); ?>:</b>
	<?php echo CHtml::encode($data->date_to_purchase); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('total_amount')); ?>:</b>
	<?php echo CHtml::encode($data->total_amount); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('date_time_created')); ?>:</b>
	<?php echo CHtml::encode($data->date_time_created); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('customer')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->customer0->firstname." ".$data->customer0->lastname), array('user/user/view', 'id'=>$data->customer0->user_id)); ?>
	<br />


</div>